package com.ehome.poct.core.api.dto;

import com.ehome.core.annotations.FastQry;
import com.ehome.core.constant.FilterRules;
import com.ehome.core.entity.Qry;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @description:历史报告请求查询条件
 * @author: muqiu
 * @time: 2022/3/16 11:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReportQry extends Qry {
    private Long clinicId;
    @FastQry(value = FilterRules.BETWEEN_START,field = "createTime")
    private LocalDateTime startTime;
    @FastQry(value = FilterRules.BETWEEN_END,field = "createTime")
    private LocalDateTime endTime;
    @FastQry(value = FilterRules.LIKE,field = "patientName")
    private String patientName;
    private Integer reportType;
    private Integer payStatus;
    private String sortColumns;
}
